<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/12/13
  Time: 10:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%
        String path = request.getContextPath();
        String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    %>
    <base href="<%=basePath%>">
</head>
<body>
    添加用户
    <form action="user/add" method="post" enctype="multipart/form-data">
        <input type="text" name="username" placeholder="请输入账号"><br>
        <input type="password" name="password" placeholder="请输入密码"><br>
        <input type="text" name="realname" placeholder="请输入姓名"><br>
        <input type="text" name="age" placeholder="请输入年龄"><br>
        <input type="file" name="pic"><br>
        <input type="submit" value="添加">
    </form>
</body>
</html>
